package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.pojos.WmSensitive;

public interface SensitiveService extends IService<WmSensitive> {
    //删除敏感词
    ResponseResult sensitiveDelete(Integer id);

    //修改敏感词
    ResponseResult sensitiveUpdate(WmSensitive wmSensitive);

    //查询敏感词
    ResponseResult sensitiveList(SensitiveDto dto);

    //新增敏感词
    ResponseResult sensitiveSave(WmSensitive wmSensitive);
}

